﻿using System;
using System.Windows;
using WpfLob.Frame;
using WpfLob.Menu.ViewModel;

namespace WpfLob
{
    public partial class App : Application
    {
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            Presenter presenter = new Presenter();
            presenter.Show(new HomeViewModel(presenter));
            MainWindow = new MainWindow();
            MainWindow.DataContext = presenter;
            MainWindow.Show();
        }
    }
}
